package com.my12306.train.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.my12306.train.model.entity.CariageMarshallingRelationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 编组与车厢的关联表
 *
 * @author ËÕÄÁÏ¦
 * @email
 * @date 2020-07-24 20:58:07
 */
@Mapper
public interface CariageMarshallingRelationDao extends BaseMapper<CariageMarshallingRelationEntity> {
    /**
     * 根据ids批量删除编组
     *
     * @param ids
     * @param logicDelete
     */
    void deleteCarriageMarshallingRelationBatchByGroupIds(@Param("list") List<Long> ids, @Param("logicDelete") Integer logicDelete);
}
